package com.example.hxds.bff.driver.feign;

import com.example.hxds.bff.driver.controller.form.AcceptNewOrderForm;
import com.example.hxds.bff.driver.controller.form.SearchDriverExecuteOrderForm;
import com.example.hxds.bff.driver.controller.form.SearchDriverTodayBusinessDataForm;
import com.example.hxds.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * @BelongsProject: hxds
 * @BelongsPackage: com.example.hxds.bff.driver.feign
 * @Author: wanglansheng
 * @CreateTime: 2024-01-14  11:19
 * @Description: TODO
 * @Version: 1.0
 */
@FeignClient(value = "hxds-odr")
public interface OdrServiceApi {
    @PostMapping("/order/searchDriverTodayBusinessData")
    public R searchDriverTodayBusinessData(SearchDriverTodayBusinessDataForm form);

    @PostMapping("/order/acceptNewOrder")
    public R acceptNewOrder(AcceptNewOrderForm form);

    @PostMapping("/order/searchDriverExecuteOrder")
    public R searchDriverExecuteOrder(SearchDriverExecuteOrderForm form);

}
